@charset "utf-8";

header {
    height: 155px;

    background-color: #fff;

    box-shadow: 0 1px 0 0 #f4f4f4;
}

header a {
    color: #9f9f9f;
}

/* 顶部菜单栏 */

.top {
    height: 40px;

    line-height: 40px;

    color: #e6e6e6;
    background-color: #101010;
}

.top .welcome a {
    color: #ff9c00;
}

/* 顶部logo */

header .nav h1 {
    top: 25px;
    left: 30px;

    width: 170px;
    height: 76px;

    background-image: url(../images/logo.jpg);
    background-repeat: no-repeat;
    background-position-x: -10px;
}

header .nav h1 a {
    display: block;

    width: 170px;
    height: 76px;

    font-size: 0;
}

/* 搜索框和购物车按钮 */

.search-buy {
    margin-top: 25px;
    margin-bottom: 21px;
}

/* 搜索 */

.search-box {
    margin-left: 300px;
    box-sizing: border-box;
    border: 2px solid #feb80f;
    width: 490px;
    height: 35px;
}

.search-cont {
    border: 0;
    padding-left: 10px;
    width: 406px;
    height: 31px;

    outline: 0;
}

.search-btn {
    border-radius: 0;
    width: 60px;
    height: 31px;

    background-color: #feb80f;
    background-image: url(../images/search_button.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;

    cursor: pointer;
}

/* 购物车 */

.buy {
    margin-left: 30px;
    width: 280px;
    height: 35px;
}

.buy-box,
.buy-order {
    box-sizing: border-box;
    width: 130px;
    height: 35px;
}

.buy-box {
    border: 1px solid #dadada;
    border-radius: 5px;

    font: normal 14px/35px "微软雅黑";
    text-align: center;
    text-indent: 36px;

    color: #feb80f;
    background-image: url(../images/buy_box.png);
    background-repeat: no-repeat;
    background-position: 24px center;
    background-size: 24px;
}

.buy-order {
    margin-left: 15px;
    border: 1px solid #dadada;
    border-radius: 5px;

    font: bold 14px/35px "微软雅黑";
    text-align: center;

    color: #dadada;
}

/* 导航 */

nav ul {
    margin-left: 300px;
}

nav li {
    float: left;

    margin-right: 30px;

    font: normal 16px/24px "微软雅黑";

    color: #9f9f9f;
}

nav li a:hover {
    color: #feb80f;
}
